.class Lcom/xingbook/ecloud/activity/h;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/ui/x;


# instance fields
.field final synthetic a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;


# direct methods
.method constructor <init>(Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ecloud/activity/h;->a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 3

    const/4 v0, 0x1

    if-ne p1, v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ecloud/activity/h;->a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;

    invoke-static {v0}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->g(Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;)Lcom/xingbook/ui/t;

    move-result-object v0

    iget-object v0, v0, Lcom/xingbook/ui/t;->d:Ljava/lang/String;

    if-eqz v0, :cond_0

    const-string v0, ""

    iget-object v1, p0, Lcom/xingbook/ecloud/activity/h;->a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;

    invoke-static {v1}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->g(Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;)Lcom/xingbook/ui/t;

    move-result-object v1

    iget-object v1, v1, Lcom/xingbook/ui/t;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/xingbook/ecloud/activity/h;->a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;

    const-class v2, Lcom/xingbook/ecloud/activity/ECloudGradeListAct;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iget-object v1, p0, Lcom/xingbook/ecloud/activity/h;->a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;

    const/16 v2, 0xc19

    invoke-virtual {v1, v0, v2}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->startActivityForResult(Landroid/content/Intent;I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ecloud/activity/h;->a:Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;

    invoke-virtual {v0}, Lcom/xingbook/ecloud/activity/ECloudGradeDetailAct;->finish()V

    goto :goto_0
.end method
